package com.xing.radar.daoimpl;

import com.xing.radar.bean.ItemContent;
import com.xing.radar.dao.Dao;

public class RadarItemContentDaoImpl extends Dao{

	private final String daoNamespace = "com.xing.radar.daoimpl.RadarItemContentDaoImpl";
	
	public RadarItemContentDaoImpl() {
		super("item_content");
	}
	
	public int save(ItemContent itemContent){
		return insert(daoNamespace + ".insert", itemContent);
	}
	
	public ItemContent getById(int id){
		return (ItemContent)selectOne(daoNamespace + ".getById",id);
	}
}
